import com.alibaba.druid.pool.DruidDataSourceFactory;

import javax.sql.DataSource;
import java.io.FileInputStream;
import java.sql.Connection;
import java.util.Properties;

public class DruidDemo1 {
    public static void main(String[] args) throws Exception{
        Properties prop = new Properties();
        prop.load(new FileInputStream("C:/Users/ZhuanZ/Desktop/test/jdbc/jdbc/jdbc-demo/src"));

        DataSource  dataSource = DruidDataSourceFactory.createDataSource(prop);

        Connection connection = dataSource.getConnection();




    }


}
